extends GPUParticles2D

@export var auto_destroy_life_time: float = 1.5
@onready var animation_player: AnimationPlayer = $AnimationPlayer


func _ready() -> void:
	restart()
	emitting = true
	animation_player.play("light")
	
	await get_tree().create_timer(auto_destroy_life_time).timeout
	queue_free()
